<?php
/**
 * Minimal Theme for Croogo CMS
 *
 * @author Fahad Ibnay Heylaal <contact@fahad19.com>
 * @link   http://fahad19.com
 */
echo $html->docType('xhtml-trans'); 
header("Content-Type: text/html; charset=utf-8"); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo Configure::read('Site.title'); ?></title>
        <?php
            echo $layout->meta();            
            echo $layout->feed();            
            echo $html->script(array('jquery/jquery.min', 'timer', 'animate'));
            echo $layout->js();
            
            echo $html->css(array(
                'reset',
                '960',
                'theme',
                'blog'
            ));
            echo $scripts_for_layout;
            echo $this->Html->meta('icon');             
        ?>
        <link href="/croogo/theme/cleanyblue/favicon.ico" type="image/x-icon" rel="icon" /> 
    </head>
    <body>
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>
        
        <div id="leftside"><div id="rightside">
                <div id="header"></div>
        <div id="box">
            <div id="wrapper">
                <div id="left">
                    <div id="menu"><?php echo $layout->menu('main', array('dropdown' => true)); ?></div>
                    <div id="content"><?php echo $content_for_layout; ?></div>
                </div>
                <div id="right">
                    <div id="bookmarks"><?php echo $layout->blocks('bookmarks'); ?></div>
                    <div id="bar"><?php echo $layout->blocks('right'); ?></div>
                </div>
                <div id="footer">
                    <?php echo $layout->menu('footer'); ?>
                    <a href="http://www.cakephp.org"><?php echo $html->image('/img/cake.power.gif', array('style' => 'float:right;')); ?></a>
                    <?php echo $layout->blocks('footer'); ?>
                </div>    
            </div>
                </div>   
        <script type="text/javascript">
            initAnimations();
        </script>
    </div></div></body>
</html>